import request from '@/utils/request'
export default {
    // 分页搜索系统公告
    getAllAnnouncementApi: (data: any) => request.post('/api/getAllAnnouncement', data),
    // 分页查找医生及团队
    getDoctorByPageSearchApi: (data: any) => request.post('/api/getDoctorByPageSearch', data),
    
    getDoctorTeamBySearchPageApi: (data: any) => request.post('/api/getDoctorTeamBySearchPage', data),
    // 修改状态
    updateAnnouncementStatusByIdApi: (data: any) => request.post('/api/updateAnnouncementStatusById', data),
    // 新增系统公告
    saveAnnouncementApi: (data: any) => request.post('/api/saveAnnouncement', data),
    // 修改公告
    updateAnnouncementByIdApi: (data: any) => request.post('/api/updateAnnouncementById', data),

    // 修改系统公告
    delAnnouncementByIdApi: (id: number) => request.post('/api/delAnnouncementById', { id }),
    
}